<html>
<head><meta charset="utf-8"><title>duplicate errors in ui tests · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/duplicate.20errors.20in.20ui.20tests.html">duplicate errors in ui tests</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="205991655"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/duplicate%20errors%20in%20ui%20tests/near/205991655" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/duplicate.20errors.20in.20ui.20tests.html#205991655">(Aug 05 2020 at 06:19)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/75165/files">https://github.com/rust-lang/rust/pull/75165/files</a> has 5 errors while <a href="https://play.rust-lang.org/?version=nightly&amp;mode=debug&amp;edition=2018&amp;gist=152902ad6f4c6328ee09a376c40ab820">https://play.rust-lang.org/?version=nightly&amp;mode=debug&amp;edition=2018&amp;gist=152902ad6f4c6328ee09a376c40ab820</a> only has two.</p>
<p>I vaguely remember this being talked about but wasn't able to quickly find it.</p>



<a name="205991704"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/duplicate%20errors%20in%20ui%20tests/near/205991704" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/duplicate.20errors.20in.20ui.20tests.html#205991704">(Aug 05 2020 at 06:20)</a>:</h4>
<p>Why are there more errors in ui tests here?</p>



<a name="205991716"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/duplicate%20errors%20in%20ui%20tests/near/205991716" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/duplicate.20errors.20in.20ui.20tests.html#205991716">(Aug 05 2020 at 06:20)</a>:</h4>
<p>Do we deduplicate errors during a normal run?</p>



<a name="205991720"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/duplicate%20errors%20in%20ui%20tests/near/205991720" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/duplicate.20errors.20in.20ui.20tests.html#205991720">(Aug 05 2020 at 06:20)</a>:</h4>
<p>(and don't do so while testing)</p>



<a name="205992867"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/duplicate%20errors%20in%20ui%20tests/near/205992867" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vadim Petrochenkov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/duplicate.20errors.20in.20ui.20tests.html#205992867">(Aug 05 2020 at 06:45)</a>:</h4>
<p>UI tests use <code>-Z deduplicate-diagnostics=no</code>.</p>



<a name="205992882"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/duplicate%20errors%20in%20ui%20tests/near/205992882" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vadim Petrochenkov <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/duplicate.20errors.20in.20ui.20tests.html#205992882">(Aug 05 2020 at 06:45)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/67122">https://github.com/rust-lang/rust/pull/67122</a> introduced this behavior and has some motivation.</p>



<a name="205993420"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/duplicate%20errors%20in%20ui%20tests/near/205993420" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/duplicate.20errors.20in.20ui.20tests.html#205993420">(Aug 05 2020 at 06:56)</a>:</h4>
<p>Thanks <span aria-label="heart" class="emoji emoji-2764" role="img" title="heart">:heart:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>